package uk.ac.lkl.lpp.ui;



import uk.ac.lkl.common.ui.Creator;
import uk.ac.lkl.common.ui.View;
import uk.ac.lkl.lpp.model.PedagogyPlanModel;

import uk.ac.lkl.lpp.model.ldo.TeachingMethod;


/**
 * A view of a teaching method.
 * 
 * Constructed on teaching method and pedagogy plan model.
 * 
 * @author Darren Pearce
 * @version $Revision$
 * @version $Date$
 * 
 */
public abstract class TeachingMethodView extends View<TeachingMethod> {

    private PedagogyPlanModel pedagogyPlanModel;


    public TeachingMethodView(TeachingMethod teachingMethod,
            PedagogyPlanModel model) {
        super(teachingMethod);
        this.pedagogyPlanModel = model;
    }


    public TeachingMethod getTeachingMethod() {
        return getModel();
    }


    public PedagogyPlanModel getPedagogyPlanModel() {
        return pedagogyPlanModel;
    }

}
